package com.communication;

/**
 * @author Zhang Guangyong
 * @desacription 测试类
 * @date 2019年08月19日 9:41
 */
public class AccountTest {

    public static void main(String[] args) {

        Account account = new Account("123344", 0);

        new DrawThread("取钱者", account, 800).start();

        new DepositThread("存钱者A", account, 800).start();

        new DepositThread("存钱者B", account, 800).start();
//
        new DepositThread("存钱者C", account, 800).start();

    }

}
